/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * JObjectListFrame.java
 *
 * Created on 2010-maj-17, 12:08:33
 */

package foalvleditor.gui;

import javax.swing.JPanel;

/**
 *
 * @author Mikael
 */
public class JObjectListFrame extends javax.swing.JInternalFrame {

    /**
	 *
	 */
	private static final long serialVersionUID = 1L;
	/** Creates new form JObjectListFrame */
    public JObjectListFrame() {
        super();
        initComponents();
        this.setResizable(true);
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    private void initComponents() {

        jScrollPane1 = new javax.swing.JScrollPane();
        objectListPanel = new javax.swing.JPanel();

        setDefaultCloseOperation(javax.swing.WindowConstants.HIDE_ON_CLOSE);
        setIconifiable(true);
        setMaximumSize(new java.awt.Dimension(300, 1000));
        setMinimumSize(new java.awt.Dimension(300, 200));
        setName("Form"); // NOI18N
        setPreferredSize(new java.awt.Dimension(300, 400));

        jScrollPane1.setName("jScrollPane1"); // NOI18N

        objectListPanel.setName("objectListPanel"); // NOI18N
        objectListPanel.setLayout(new javax.swing.BoxLayout(objectListPanel, javax.swing.BoxLayout.Y_AXIS));
        jScrollPane1.setViewportView(objectListPanel);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 310, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 365, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new JObjectListFrame().setVisible(true);
            }
        });
    }

    public JPanel getPanel(){
        return this.objectListPanel;
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JPanel objectListPanel;
    // End of variables declaration//GEN-END:variables

}
